package archsw0904.controller.catalog;

public class QueryableFieldOrdered {

	public QueryableFieldOrdered(){
		
	}
	
	public QueryableFieldOrdered(QueryableField queryField, SearchOrder order){
		this.queryField = queryField;
		this.order = order;
		this.queryField.setOrderBy(order);	
	}


	public void setQueryField(QueryableField queryField) {
		this.queryField = queryField;
	}

	public QueryableField getQueryField() {
		return queryField;
	}
	public void setOrder(SearchOrder order){
		this.order = order;
		queryField.setOrderBy(order);
	}
	public SearchOrder getOrder(){
		return order;//queryField.getOrderBy();
	}
	
	private QueryableField queryField;
	private SearchOrder order;
}
